﻿using Simple.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024/3/19 
/// 描 述：
/// </summary>
{
    internal class VMapTarget
    {
        public VMapTarget(bool IsInit)
        {
            if (IsInit)
            {
                test_int = 1;
                test_short = 1;
                test_int = 1;
                test_short = 1;
                test_dateTime = DateTime.Now;
                test_timeSpan = new TimeSpan(10,10,10);
                test_byte=Byte.MinValue;
                test_byte++;
                test_decimal = 1;
                test_string = -1;
                test_long = 1;
                test_guid=Guid.NewGuid();
                test_null_decimal = 1;

		//test_double = 1;
		//test_float = 1;
	}
            else
            {
                test_int = -1;
                test_short = -1;
                test_int = -1;
                test_short = -1;
                test_dateTime = DateTime.MinValue;
                test_timeSpan = TimeSpan.Zero;
                test_byte = Byte.MinValue;
                test_float = -1;
                test_decimal = -1;
                test_string =-1;
                test_long = -1;
                test_guid = Guid.Empty;
            }
        }
        public int test_int { get; set; }
        public int test_long { get; set; }
        public short test_short { get; set; }
        public byte test_byte { get; set; }
        public float test_float { get; set; }
        public double test_double { get; set; }
        public decimal test_decimal { get; set; }
        public decimal ? test_null_decimal { get; set; }

        public long test_string { get; set; }
        public DateTime test_dateTime { get; set; }
        public TimeSpan test_timeSpan { get; set; }
        public Guid test_guid { get; set; }

		public DateTime? test_null_dateTime { get; set; }

		public List<string> strList { get; set; }

		public List<long> strToLong { get; set; }
		//public List<MapTarget> targets { get; set; }
	}
}
